<template>
  <div>
      <h3>son.vue -- 这个子组件只是看到销毁钩子</h3>
  </div>
</template>

<script>
export default {

    beforeDestroy () {

        console.log('销毁前')
    },

    destroyed () {
        console.log('销毁后')
    }
}
</script>

<style>

</style>